home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: jkarcher@ix.netcom.com(John J. Karcher )
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Multiplatform Development
- Date: 1 Feb 1996 21:50:49 GMT
- Organization: Netcom
- Message-ID: <4ercjp$b6o@cloner2.ix.netcom.com>
- References: <4eqr9u$s25@sundog.tiac.net>
- NNTP-Posting-Host: ix-vf1-04.ix.netcom.com
- X-NETCOM-Date: Thu Feb 01 1:50:49 PM PST 1996
-
- In <4eqr9u$s25@sundog.tiac.net> Darius Taghavy <dart@ycrdi.com> writes:
- >Does anyone have experience with multiplatform application development?
- >I currently have a large Amiga app (not yet released) that I am
- >considering to port to one or more of Mac/Be/NT/OS2.
-
- I (unfortunately) know a fair amount about the Windows platform.
-
- >a) Graphics
- > what is the graphics API like in these other systems?
- > I.e. On the Amiga we use Move(), Draw(),RectFill(),Text() etc.
- > all of which use a struct RastPort * as first argument.
- > I have already abstracted this layer. For example, I have
- > a text display routine that gets (rastport pointer, x,y, text
- > pointer) arguments.
- > Do these other API's also use a single handle, such as RastPort?
-
- Windows (and therefore NT and OS/2) do tend to use a single handle, for
- what it's worth. You might have 'fun' abstracting this, though.
-
- >b) Event Handling
- > I love the event driven way the Amiga works. I heard the Mac
- > more or less polls. Is this true? How about other OSes?
-
- Windows and friends are event driven in a way similar to the Amiga. You
- should have no trouble getting used to this. In fact, Windows provides
- _more_ message types than the Amiga in some cases.
-
- >c) Interrupts/Timers
- > My app uses multiple tasks and interrupts. For a non-multi-tasking
- > OS I could still work, as I can conditionally compile into a
- > single task/multiple interrupt model already.
- > Basically, what I need is:
- > - *hardware* timer interrupt
- > - serial interrupt when receive buffer is full
- > - serial interrupt when transmit buffer is full
-
- NT and OS/2 are preemptively multitasking, but I don't know much about
- interrupt handlers on these platforms (thank goodness!).
-
- >d) CPU/Memory Architecture
- > I love architectures that are based on a linear address
- > From: jkarcher@ix.netcom.com(John J. Karcher )
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Multiplatform Development
- References: <4eqr9u$s25@sundog.tiac.net>
-
- In <4eqr9u$s25@sundog.tiac.net> Darius Taghavy <dart@ycrdi.com> writes:
- >Does anyone have experience with multiplatform application development?
- >I currently have a large Amiga app (not yet released) that I am
- >considering to port to one or more of Mac/Be/NT/OS2.
-
- I (unfortunately) know a fair amount about the Windows platform.
-
- >a) Graphics
- > what is the graphics API like in these other systems?
- > I.e. On the Amiga we use Move(), Draw(),RectFill(),Text() etc.
- > all of which use a struct RastPort * as first argument.
- > I have already abstracted this layer. For example, I have
- > a text display routine that gets (rastport pointer, x,y, text
- > pointer) arguments.
- > Do these other API's also use a single handle, such as RastPort?
-
- Windows (and therefore NT and OS/2) do tend to use a single handle, for
- what it's worth. You might have 'fun' abstracting this, though.
-
- >b) Event Handling
- > I love the event driven way the Amiga works. I heard the Mac
- > more or less polls. Is this true? How about other OSes?
-
- Windows and friends are event driven in a way similar to the Amiga. You
- should have no trouble getting used to this. In fact, Windows provides
- _more_ message types than the Amiga in some cases.
-
- >c) Interrupts/Timers
- > My app uses multiple tasks and interrupts. For a non-multi-tasking
- > OS I could still work, as I can conditionally compile into a
- > single task/multiple interrupt model already.
- > Basically, what I need is:
- > - *hardware* timer interrupt
- > - serial interrupt when receive buffer is full
- > - serial interrupt when transmit buffer is full
-
- NT and OS/2 are preemptively multitasking, but I don't know much about
- interrupt handlers on these platforms (thank goodness!).
-
- >d) CPU/Memory Architecture
- > I love architectures that are based on a linear address
- > figure this
- one out, and let each platform retain its native look and feel, you'll
- be able to retire after this project!
-
- - John J. Karcher
-
-
-